package com.maybach.core.form;

import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;

/**
 * Created by houenxun on 16/1/12.
 */
public class LoginForm implements Serializable{
    private static final long serialVersionUID = 1L;
    @NotBlank(message = "用户名不能为空")
    private String name;
    @NotBlank(message = "用户密码不能为空")
    private String password;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
